Skip to main content

Enquiry_Parts Tables

The accounts_changelog and accounts_latest tables stores the data of all supplier groups, including contact details, location, services offered and permissions assigned to them.


🔹 Standard Columns​

Column NameData TypeNullableDescription
document_nameSTRINGYESName of the document.
document_event_idSTRINGYESUnique event ID associated with this document.
document_timestampTIMESTAMPYESTimestamp when the document event occurred.
document_operationSTRINGYESType of operation (e.g., INSERT, UPDATE, DELETE).
document_idSTRINGYESUnique identifier for the document.
accountIdSTRINGYESAccount identifier.
serviceUnitIdSTRINGYESService Unit identifier.
enquiryIdSTRINGYESRelated Enquiry ID.

🔸 Array Columns​

partLines​

Array of STRUCT

Column NameData TypeNullableDescription
lineTypeSTRINGYESType of line (e.g., fluid, part).
manufacturerGoodwillSTRUCTYESGoodwill information provided by the manufacturer.
manufacturerGoodwill.maskedSTRINGYESMasked display value.
manufacturerGoodwill.rawFLOAT64YESRaw goodwill amount.
nameSTRINGYESName of the part.
netPriceSTRUCTYESNet price details.
netPrice.maskedSTRINGYESMasked price.
netPrice.rawSTRINGYESRaw price as string.
netPrice.valueFLOAT64YESPrice value.
numberSTRINGYESPart number.
quantitySTRUCTYESQuantity details.
quantity.maskedSTRINGYESMasked quantity.
quantity.rawINT64YESActual quantity.
unitDiscountSTRUCTYESDiscount per unit.
unitDiscount.maskedSTRINGYESMasked discount.
unitDiscount.rawFLOAT64YESRaw discount.
unitDiscount.valueFLOAT64YESDiscount value.
unitDiscount.warningBOOLYESWhether there’s a discount warning.
unitPriceSTRUCTYESUnit price details.
unitPrice.maskedSTRINGYESMasked unit price.
unitPrice.rawFLOAT64YESRaw unit price.
unitPrice.valueFLOAT64YESUnit price value.

deletedPartLines​

Array of STRUCT

Column NameData TypeNullableDescription
lineTypeSTRINGYESType of line (e.g., fluid, part).
manufacturerGoodwillSTRUCTYESGoodwill information provided by the manufacturer.
manufacturerGoodwill.maskedSTRINGYESMasked display value.
manufacturerGoodwill.rawFLOAT64YESRaw goodwill amount.
nameSTRINGYESName of the part.
netPriceSTRUCTYESNet price details.
netPrice.maskedSTRINGYESMasked price.
netPrice.rawSTRINGYESRaw price as string.
netPrice.valueFLOAT64YESPrice value.
numberSTRINGYESPart number.
quantitySTRUCTYESQuantity details.
quantity.maskedSTRINGYESMasked quantity.
quantity.rawINT64YESActual quantity.
unitDiscountSTRUCTYESDiscount per unit.
unitDiscount.maskedSTRINGYESMasked discount.
unitDiscount.rawFLOAT64YESRaw discount.
unitDiscount.valueFLOAT64YESDiscount value.
unitDiscount.warningBOOLYESWhether there’s a discount warning.
unitPriceSTRUCTYESUnit price details.
unitPrice.maskedSTRINGYESMasked unit price.
unitPrice.rawFLOAT64YESRaw unit price.
unitPrice.valueFLOAT64YESUnit price value.